package com.bbva.kyfb.kyfbdto.firmas.fachada.v01;

import java.io.Serializable;
import java.util.ArrayList;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * The Class InfoFileCompaniesResponse.
 */
@XmlRootElement
public class InfoFileCompaniesResponse implements Serializable{
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;


	/** The cod error. */
	private String codError;
	
	/** The info companies. */
	private ArrayList<InfoFileCompanie> infoCompanies;
	
	
	/**
	 * Instantiates a new info file companies response.
	 */
	public InfoFileCompaniesResponse() {
		infoCompanies = new ArrayList<InfoFileCompanie>();
	}


	/**
	 * Gets the cod error.
	 *
	 * @return the codError
	 */
	public String getCodError() {
		return codError;
	}


	/**
	 * Sets the cod error.
	 *
	 * @param codError the codError to set
	 */
	public void setCodError(String codError) {
		this.codError = codError;
	}


	/**
	 * Gets the info companies.
	 *
	 * @return the infoCompanies
	 */
	public ArrayList<InfoFileCompanie> getInfoCompanies() {
		return infoCompanies;
	}


	/**
	 * Sets the info companies.
	 *
	 * @param infoCompanies the infoCompanies to set
	 */
	public void setInfoCompanies(ArrayList<InfoFileCompanie> infoCompanies) {
		this.infoCompanies = infoCompanies;
	}


	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "InfoFileCompaniesResponse [codError=" + codError
				+ ", infoCompanies=" + infoCompanies + "]";
	}
	
}
